/**
 * Copyright &copy; 2012-2016 <a href="https://shop450532966.taobao.com/">NumberOne</a> All rights reserved.
 */
package com.numberone.master.modules.people.entity;

import org.hibernate.validator.constraints.Length;

import com.numberone.master.common.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author DengWenJie
 * @version 2017-11-21
 */
public class ReservePerson extends DataEntity<ReservePerson> {
	
	private static final long serialVersionUID = 1L;
	private String userNo;		// 用户账号
	
	public ReservePerson() {
		super();
	}

	public ReservePerson(String id){
		super(id);
	}

	@Length(min=1, max=20, message="用户账号长度必须介于 1 和 20 之间")
	public String getUserNo() {
		return userNo;
	}

	public void setUserNo(String userNo) {
		this.userNo = userNo;
	}
	
}